package cn.exam.common;

import cn.exam.model.Paper;

public class Test {

	public static void main(String [] args) {
		String sql = "SELECT pid,pname,pno,count(*) scount FROM paper GROUP BY pname" ;
		Pager<Paper> pager;
		String pid="pid";
		String sql2 = " where pname LIKE '%' "+" ? "+" '%' ";
		String sql3 = sql.substring(0,44) + sql2 + sql.substring(44);
		System.out.println(sql3);
	}
}
